﻿using System;
using System.Windows.Forms;

namespace Group_Mail
{
    public class WizardControl : TabControl
    {
        protected override void WndProc(ref System.Windows.Forms.Message m)
        {
            // Hide tabs by trapping the TCM_ADJUSTRECT message
            if (m.Msg == 0x1328 && !DesignMode) m.Result = (IntPtr) 1;
            else
                base.WndProc(ref m);
        }
    }
}